import httpRequest from '@/utils/httpRequest'
import constant from '../constant'

export function pageData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleInfo/page',
    method: 'post',
    data: data
  })
}


export function saveData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleInfo/save',
    method: 'post',
    data: data
  })
}
export function updateData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleInfo/update',
    method: 'post',
    data: data
  })
}



export function getData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleInfo/get',
    method: 'post',
    data: data
  })
}

export function getGroupEntitys (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleInfo/getGroupEntitys',
    method: 'post',
    data: data
  })
}



